package com.east.service;

import com.east.dto.UserDTO;
import com.east.entity.User;
import com.east.query.BaseQuery;
import com.east.result.Result;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface UserService extends UserDetailsService {


    Result pageSearchUser(String phone, String loginAct, String name, Integer currentPage, Integer pageSize);

    Result deleteUserByIds(Integer[] ids);

    Result userDetail(Long id);

    Result addUser(UserDTO user);

    Result updateUser(UserDTO user);

    Result deleteUser(Integer id);

    Result getAllUserNames();

    User info(Long id);
}
